create table Wagon_Repair (
   ID                   int                  not null,
   NumberWagon          int                  not null,
   RepairIdentifier     varchar(8)           not null,
   typeofRepair         int                  not null,
   Depo                 int                  not null,
   NumberVU_23          int                  not null,
   Road                 int                  not null,
   Station              int                  not null,
   DateofTransfer       Date                 null,
   Fault                int                  null,
   DateOfConstruction   Date                 not null,
   LastDepo             int                  not null,
   DateOfLastDepo       Date                 not null,
LastDepoOfCapitalRepair int                  not null,
DateOfLastCapitalRepair Date                 not null,
   NumberVU_36          int                  not null,
   DateOfBeginRepair    Date                 not null,
   DateOfEndRepair      Date                 not null,
   Modernisation        int                  not null,
   WagonState           varchar(8)           not null,
   constraint PK_WAGON primary key  (ID)
)